<div style="height: 100%;">
  <div class="form-group">
    <select
      name="teamGroup"
      class="form-control"
      [(ngModel)]="teamGroupName"
      [attr.data-live-search]="false"
      title="选择主制班组"
    >
      <option *ngFor="let teamGroup of teamGroups" [value]="teamGroup.value">{{
        teamGroup.displayText
      }}</option>
    </select>
  </div>

  <div class="row">
    <div class="col-lg-12">
      <button
        type="button"
        class="btn btn-sm btn-success float-right"
        (click)="save()"
        [disabled]="!teamGroupName"
        [buttonBusy]="saving"
        [busyText]="'绑定中...'"
      >
        <i class="fa fa-check-circle"></i> <span>绑定班组</span>
      </button>
    </div>
  </div>
</div>
